package one.stand.mapper;

import one.stand.model.UserSign;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserSignMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserSign record);

    int insertSelective(UserSign record);

    UserSign selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserSign record);

    int updateByPrimaryKey(UserSign record);

    Integer checkSignByUserId(@Param("userId") Integer userId);

    List<UserSign> userSignTop50List();

    List<UserSign> selectList();
}